//
// Created by 23602 on 25-8-23.
//

#ifndef LIGHT_HPP
#define LIGHT_HPP
#include <SFML/Graphics.hpp>

enum class LightType
{
    Directional,
    Point,
    Ambient, // 环境光
};
struct Light
{
    LightType type;
    float intensity;
    sf::Vector3f position; // 如果是方向光，位置就是光的方向

    Light(LightType t, float i,sf::Vector3f pos = {0,0,0})
        : type(t), intensity(i), position(pos) {}
};
#endif //LIGHT_HPP
